package com.gk.panda.apis.mapper;

import com.gk.panda.apis.entity.largeScreen.dto.PatrolInfoDto;
import com.gk.panda.apis.entity.largeScreen.dto.PatrolListDto;
import com.gk.panda.apis.entity.largeScreen.vo.AreaPatrolInfo;
import com.gk.panda.apis.entity.largeScreen.vo.EventVo;
import com.gk.panda.pojo.patrol.entity.PatrolEntity;
import org.apache.ibatis.annotations.Mapper;
import org.apache.ibatis.annotations.Param;

import java.util.List;

@Mapper
public interface LargeScreenMapper {

    AreaPatrolInfo getPatrolInfo(@Param("orgIds") List<Integer> orgIds,
                                 @Param("dto") PatrolInfoDto dto);

    List<EventVo> getRealtimeShootByOrgId(@Param("deviceSns") List<String> deviceSns,@Param("pageSize") Integer pageSize);

    Integer getTransectCover(@Param("orgIds") List<Integer> orgIds,
                             @Param("dto") PatrolInfoDto dto);

    Integer getTransectNumByOrgIds(@Param("orgIds") List<Integer> orgIds);

//    PatrolEntity getReportList(@Param("dto") PatrolListDto dto);
}
